﻿## -*- coding: utf-8 -*- 



<%include file="header.html"/>

<table width="800" cellpadding="0" cellspacing="0" border="0">
	%for x in v.A: 
    <tr>
	 
        <td class="id" width="80">&nbsp; ID${x.id}</td> 
	<td><div class="diary-row">
		<span class="title">${x.title}</span>
		<span class="content">${x.content}</span>
	</div></td>
	<td width="60">已读&nbsp;&nbsp;<span class="amount">${x.read_count}</span></td>
        <td class="time" width="140">${x.create_time}</td>
        <td width="90" align="right">
			
			<a href="/diarypy/app.py/readDiary?id=${x.id}">阅读</a>
			<a href="/diarypy/app.py/updateDb?id=${x.id}">发布</a>
			<a href="http://localhost/diarypy/app.py/deleteDiary?id=${x.id}">删除</a>
		</td>
    </tr> 
	%endfor
</table>
 
<%include file="footer.html"/>
